<?php
/**
 * Created by PhpStorm.
 * User: xutao
 * Date: 2018/8/2
 * Time: 10:18
 */
namespace app\index\controller;
use think\Controller;
use think\Session;

class Base extends Controller{

    public function _initialize(){
//        if(!Session::get('member')){
//            return json(['code'=>0,'data'=>'wqq','msg'=>'请登录']);
//        }

//        if(!Session::get('member')){
//            echo 11;
//            return (json(['code'=>9,'data'=>'','msg'=>'请登录']));
//            die();
//        }
    }

}